﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopBasicMember : BaseObject
    {
        //begin
        public TopBasicMember(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _BuyerNick;
        [Size(SizeAttribute.Unlimited)]
        public string BuyerNick
        {
            get
            {
                return _BuyerNick;
            }
            set
            {
                SetPropertyValue("BuyerNick", ref _BuyerNick, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private long _Grade;
        public long Grade
        {
            get
            {
                return _Grade;
            }
            set
            {
                SetPropertyValue("Grade", ref _Grade, value);
            }
        }
        private long _TradeCount;
        public long TradeCount
        {
            get
            {
                return _TradeCount;
            }
            set
            {
                SetPropertyValue("TradeCount", ref _TradeCount, value);
            }
        }
        private decimal _TradeAmount;
        public decimal TradeAmount
        {
            get
            {
                return _TradeAmount;
            }
            set
            {
                SetPropertyValue("TradeAmount", ref _TradeAmount, value);
            }
        }
        private DateTime _LastTradeTime;
        public DateTime LastTradeTime
        {
            get
            {
                return _LastTradeTime;
            }
            set
            {
                SetPropertyValue("LastTradeTime", ref _LastTradeTime, value);
            }
        }
        private long _CloseTradeCount;
        public long CloseTradeCount
        {
            get
            {
                return _CloseTradeCount;
            }
            set
            {
                SetPropertyValue("CloseTradeCount", ref _CloseTradeCount, value);
            }
        }
        private decimal _CloseTradeAmount;
        public decimal CloseTradeAmount
        {
            get
            {
                return _CloseTradeAmount;
            }
            set
            {
                SetPropertyValue("CloseTradeAmount", ref _CloseTradeAmount, value);
            }
        }
        private long _ItemNum;
        public long ItemNum
        {
            get
            {
                return _ItemNum;
            }
            set
            {
                SetPropertyValue("ItemNum", ref _ItemNum, value);
            }
        }
        private string _GroupIds;
        [Size(SizeAttribute.Unlimited)]
        public string GroupIds
        {
            get
            {
                return _GroupIds;
            }
            set
            {
                SetPropertyValue("GroupIds", ref _GroupIds, value);
            }
        }
        private long _RelationSource;
        public long RelationSource
        {
            get
            {
                return _RelationSource;
            }
            set
            {
                SetPropertyValue("RelationSource", ref _RelationSource, value);
            }
        }
        private string _BizOrderId;
        [Size(SizeAttribute.Unlimited)]
        public string BizOrderId
        {
            get
            {
                return _BizOrderId;
            }
            set
            {
                SetPropertyValue("BizOrderId", ref _BizOrderId, value);
            }
        }
        private string _BuyerId;
        [Size(SizeAttribute.Unlimited)]
        public string BuyerId
        {
            get
            {
                return _BuyerId;
            }
            set
            {
                SetPropertyValue("BuyerId", ref _BuyerId, value);
            }
        }
        //end
    }
}
